﻿using Respository.Base;
using System;
using System.Collections.Generic;
using System.Text;

namespace Repository.Base.Entity
{
    interface IRepositoryEntity<T> : IRepositoryBase where T : class
    {
        T GetById(int id);

        IEnumerable<T> GetAll();

        long Insert(T t);

        bool Update(T t);

        bool Delete(T t);

    }
}
